package com.ev.hr.service;

import com.ev.hr.domain.EmployeeInfoDO;
import com.ev.framework.utils.R;
import com.ev.hr.vo.EmployeeInfoPageParam;
import com.ev.hr.vo.EmployeeInfoSaveParam;
import com.ev.hr.vo.SalaryArchivesPageParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;


/**
 * 文件名称： com.ev.hr.service.EmployeeInfoService.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-05-08 09:47:13</br>
 * 功能说明： 员工信息表 <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
public interface EmployeeInfoService {
	
	EmployeeInfoDO get(Long id);
	
	List<EmployeeInfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(EmployeeInfoDO employeeInfo);
	
	int update(EmployeeInfoDO employeeInfo);

	int updateAll(EmployeeInfoDO employeeInfo);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	R saveAndVerify(EmployeeInfoSaveParam saveParam);

	Map<String, Object> getById(Long id);

	Map<String, Object> pageList(EmployeeInfoPageParam pageParam);

	R importRecord(MultipartFile file);

	List<EmployeeInfoDO> listAll();

	int batchUpdate(List<EmployeeInfoDO> employeeInfo);
	int batchSave(List<EmployeeInfoDO> employeeInfo);

}
